package com.ruoyi.repairGroup.mapper;

import java.util.List;

import com.ruoyi.project.domain.HouseProjectT;
import com.ruoyi.project.domain.HouseRepairCheckT;
import com.ruoyi.repairArea.domain.HouseRepairAreaT;
import com.ruoyi.repairGroup.domain.HouseRepairGroupT;

/**
 * 楼宇维修明细表Mapper接口
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public interface HouseRepairGroupTMapper 
{
    /**
     * 查询楼宇维修明细表
     * 
     * @param repairId 楼宇维修明细表主键
     * @return 楼宇维修明细表
     */
    public HouseRepairGroupT selectHouseRepairGroupTByRepairId(Long repairId);

    /**
     * 查询楼宇维修明细表列表
     * 
     * @param houseRepairGroupT 楼宇维修明细表
     * @return 楼宇维修明细表集合
     */
    public List<HouseRepairGroupT> selectHouseRepairGroupTList(HouseRepairGroupT houseRepairGroupT);
    public HouseRepairGroupT selectHouseRepairGroupSum(HouseRepairGroupT houseRepairGroupT);

    /**
     * 新增楼宇维修明细表
     * 
     * @param houseRepairGroupT 楼宇维修明细表
     * @return 结果
     */
    public int insertHouseRepairGroupT(HouseRepairGroupT houseRepairGroupT);

    /**
     * 修改楼宇维修明细表
     * 
     * @param houseRepairGroupT 楼宇维修明细表
     * @return 结果
     */
    public int updateHouseRepairGroupT(HouseRepairGroupT houseRepairGroupT);

    public int insertRepairCheck(HouseRepairCheckT houseRepairCheckO);
    public int updateProjectMoneyForCheck(HouseProjectT houseProjectT);

    public int updateRepairMoneyForCheck(HouseRepairGroupT houseRepairGroupVO);
    public int updateRepair(HouseRepairGroupT vo);
    public int updateProjectForTrueMoney(HouseProjectT projectVO);

    public HouseRepairGroupT getRepairDetail(HouseRepairGroupT houseRepairGroupT);
}
